<!DOCTYPE html>
<html>

    <head>
        <meta charset="utf-8" />
        <title>线路管理</title>
        <link rel="stylesheet" href="__PUBLIC__/Leader/css/bootstrap.css">
        <link rel="stylesheet" type="text/css" href="__PUBLIC__/Leader/css/index.css" />
        <style type="text/css">
            .order-list a {
                position: relative;
            }
            .order-list span {
                float: right;
                margin-right: 20px;
            }
            .pagination ul {
                display: inline-block;
                margin-left: 0;
                margin-bottom: 0;
                -webkit-border-radius: 3px;
                -moz-border-radius: 3px;
                border-radius: 3px;
                -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
                -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
                box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
            }
            .pagination ul > li {
                display: inline;
            }
            .pagination ul > li > a, .pagination ul > li > span {
                float: left;
                padding: 0 14px;
                line-height: 38px;
                text-decoration: none;
                background-color: #ffffff;
                border: 1px solid #dddddd;
                border-left-width: 0;
            }
        </style>
    </head>
    <body>
        <include file="Index/head"/>
        <div class="wrapper main-wrapper wrapper-content ">
            <div class="page-menubar">
                <div class="menu-header">线路管理</div>
                <ul class="order-list">
                    <li class="active">
                        <a href="{:U('Line/lineadmin')}">线路管理</a>
                    </li>
                    <li>
                        <a href="{:U('Line/addline')}">添加线路</a>
                    </li>
                    <!-- <li>
                        <a href="{:U('Line/lineadmin2')}">小件代运线路管理</a>
                    </li>
                    <li>
                        <a href="{:U('Line/addline2')}">添加代运线路</a>
                    </li> -->
                </ul>
            </div>
            <!--主要内容-->
            <div class="page-content" style="display: block;">
                <!--内容标题-->
                <div class="page-heading" style="position:relative;">
                    <h2>线路管理</h2>
                    <a href="{:U('Line/addline')}" class="btn btn-primary" style="position:absolute;right: 0;top: 10px;">添加线路</a>
                </div>
                <div class="panel panel-default" style="margin-top: 20px;">
                    <div class="panel-body">
                        <table class="table table-hover table-responsive">
                            <thead>
                                <tr>
                                    <th>#</th>
                                    <th>出发地</th>
                                    <th>目的地</th>
                                    <th>单价</th>
                                    <th>发车时间</th>
                                    <th>乘车点</th>
                                    <th style="min-width: 64px;">操作</th>
                                </tr>
                            </thead>
                            <tbody>
                            <volist name="line" id="vo">
                                <tr>
                                    <td>{$vo.id}</td>
                                    <td>{$vo.from_city}</td>
                                    <td>{$vo.end_city}</td>
                                    <td>{$vo.price}</td>
                                    <td>{$vo.fc_time}</td>
                                    <td>{$vo.ck_city}</td>
                                    <td>
                                        <a href="__CONTROLLER__/linexg/id/{$vo.id}"><i class="glyphicon glyphicon-pencil"></i></a>
                                        <a onclick="return confirm('正在删除，请确认')"href="__CONTROLLER__/del/id/{$vo.id}"><i class="glyphicon glyphicon-remove-sign"></i></a>
                                    </td>
                                </tr>

                            </volist>

                            </tbody>
                        </table>
                    </div>
                    {$page}
                </div>
            </div>
        </div>
    </body>
    <script src="__PUBLIC__/Leader/js/jquery.js" type="text/javascript" charset="utf-8"></script>
    <script src="__PUBLIC__/Leader/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
</html>